package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.complete.entity.enumerate.ResultType;
import com.colorlight.cloud.complete.entity.enumerate.UploadResult;
import com.colorlight.cloud.gateway.api.annotation.defaultValue;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ResultItem implements Trans<ResultItem, CompleteEntity.ResultItem> {

    /**
     * 默认值为 -99999
     */
    @defaultValue
    private Integer prcIndex;

    /**
     * 默认值为 -99999
     */
    @defaultValue
    private Integer portIndex;

    /**
     * 默认值为 -99999
     */
    @defaultValue
    private Integer rcvIndex;

    /**
     * 默认值为 -99999
     */
    @defaultValue
    private Integer funIndex;

    /**
     * 上传结果
     */
    private ResultType resultType;
}

